home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 98 / Skunkware 98.iso / osr5 / sco / scripts / admin / ld_unix < prev    next >
Encoding:
Text File  |  1997-08-26  |  462 b   |  17 lines

  1. :
  2. # @(#) ld_unix.sh 1.0 94/03/29
  3. # 92/07/24 john h. dubois iii (john@armory.com)
  4. # 93/08/20 Remove unix.boot before linking so that /unix, which may be
  5. #          linked to it, doesn't get overwritten.
  6. # 94/03/29 Pass command line args to idld
  7.  
  8. # Usage: ld_unix [ld-options]
  9. # e.g. to generate a stripped kernel: ld_unix -s 
  10.  
  11. kernel=/unix.boot
  12.  
  13. rm $kernel
  14. cd /etc/conf/cf.d
  15. idld "$@" -o $kernel -e _start vuifile conf.o fsconf.o vector.o ifile
  16. chmod a+r $kernel
  17.